package com.paomi.client.activity.message.model;

import com.paomi.client.bean.BaseJSON;

import java.io.Serializable;
import java.util.List;

/**
 * Created by pc on 2018/11/27
 * Describe:系统消息列表
 * "returnData": {
 * 		"count": 1,//总数
 *         "data": [
 *             {
 *                 "id": 1,//消息ID
 *                 "title": "1111",//标题
 *                 "content": "2222",//内容
 *                 "isRead": 0,// 0 未读 1 已读
 *                 "ctime": 1543235369//创建时间
 *             }
 *         ],
 *     }
 * com.paomi.client.activity.message.model
 */
public class SystemMsgJson extends BaseJSON {
    private SystemMsgList returnData;

    public SystemMsgList getReturnData() {
        return returnData;
    }

    public void setReturnData(SystemMsgList returnData) {
        this.returnData = returnData;
    }

    public class SystemMsgList implements Serializable{
        private int count;
        private List<SystemMsgBean> data;

        public int getCount() {
            return count;
        }

        public void setCount(int count) {
            this.count = count;
        }

        public List<SystemMsgBean> getData() {
            return data;
        }

        public void setData(List<SystemMsgBean> data) {
            this.data = data;
        }
    }
    public class SystemMsgBean implements Serializable{
        private long id;
        private String title;
        private String content;
        private int isRead;
        private long ctime;

        public long getId() {
            return id;
        }

        public void setId(long id) {
            this.id = id;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public int getIsRead() {
            return isRead;
        }

        public void setIsRead(int isRead) {
            this.isRead = isRead;
        }

        public long getCtime() {
            return ctime;
        }

        public void setCtime(long ctime) {
            this.ctime = ctime;
        }
    }
}
